﻿using System.Data.Entity.ModelConfiguration;
using eCommerce.Core.Domain.Orders;

namespace eCommerce.Data.Mapping.Orders
{
    public class OrderItemMapping: EntityTypeConfiguration<OrderItem>
    {
        public OrderItemMapping()
        {
            this.ToTable("OrderItems");
            this.HasKey(o => o.Id);

          
        }
    }
}